import requests

# 下载SortableJS库
url = "https://cdn.jsdelivr.net/npm/sortablejs@1.15.0/Sortable.min.js"
response = requests.get(url)

# 保存到本地文件
with open("static/js/Sortable.min.js", "wb") as file:
    file.write(response.content)

print("SortableJS库已下载到static/js/Sortable.min.js")